﻿namespace Shop.ExtendService
{
    public interface IFileService
    {
        void Drop ( string dirKey, long[] linkBizPk );

        void Drop ( string[] dirKey, long[] linkBizPk );
        void Drop ( string[] dirKey, long linkBizPk );
        void Drop ( string dirKey, long linkBizPk );
        void Drop ( string dirKey, long linkBizPk, string tag );
        void Save ( long fileId, long linkBizPk, params long[] dropId );

        void Save ( long[] fileId, long linkBizPk, params long[] dropId );

        void Sync ( long? fileId, long linkBizPk, string fileUri );

        void Sync ( long[] fileId, long linkBizPk, long[] dropId );

        void Sync ( long[] fileId, long linkBizPk, string[] fileUri );
        void Drop ( long fileId );

        void Drop ( string fileUri );
    }
}